from django.shortcuts import render
from django.views import View
from toolapp import models


class YuanShen(View):

    def __init__(self):
        super().__init__()

    def get(self, request):
        return render(request, 'tool/yuanshen.html')

    def post(self, request):
        pass

    def draw_card(self, request):
        """ 抽卡功能 """
        draw_num = request.POST.get("draw_num")

    def get_gold(self, request):
        pass

    def get_silver(self, request):
        pass
